package org.example.bishe1.service;

import org.example.bishe1.pojo.Dept;

import java.util.List;

public interface DeptService {
    List<Dept> getAllDepts();

    void deleteDeptById(Integer id);

    void addDept(Dept dept);

    Dept getDeptById(Integer id);

    void updateDept(Dept dept);
}
